package com.tjec.project.workflow.domain.vo;

import com.tjec.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tjec.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 项目流程对象 bms_workflow
 * 
 * @author pangyongfeng
 * @date 2020-05-18
 */
public class BmsWorkflowVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public BmsWorkflowVo() {}
    
    /** 项目ID 项目ID */
    @Excel(name = "项目ID 项目ID")
    private String projectId;

    /** 业务ID 业务ID */
    @Excel(name = "业务ID 业务ID")
    private String businessId;

    /** 流程名称 校审流程名称 */
    @Excel(name = "流程名称 校审流程名称")
    private String intanceName;

    /** 发起人 发起人 */
    @Excel(name = "发起人id")
    private String originator;
    private String originatorName;
    
    private String projectLeader;
    private String projectLeaderId;
    private String participantId;
    private String participant;
    /**归档状态，0:为归档，1:已归档,2:归档中**/
    private String archiveStatus;

	/** 发起时间 发起时间 */
    @Excel(name = "发起时间 发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String originTime;
    
    /* 发起时间起，查询用 */
	private String originTimeStart;
	/* 发起时间止，查询用 */
	private String originTimeEnd;

    /** 当前审批环节 审批环节 */
    @Excel(name = "当前审批环节 审批环节")
    private String displayName;

    /** 当前审批人 当前审批人 */
    @Excel(name = "当前审批人 当前审批人")
    private String participantName;

    /** 流程状态 流程状态（0进行中，1已完成，2已取消） */
    @Excel(name = "流程状态 流程状态", readConverterExp = "0=进行中，1已完成，2已取消")
    private String instanceState;

    /** 完成时间 完成时间 */
    @Excel(name = "完成时间 完成时间")
    private String end_time;
    
    /* 完成时间起，查询用 */
	private String endTimeStart;
	/* 完成时间止，查询用 */
	private String endTimeEnd;

    /** 流程实例ID 流程实例ID */
    @Excel(name = "流程实例ID 流程实例ID")
    private String intanceId;

    /** 业务对象ID 业务对象ID */
    @Excel(name = "业务对象ID 业务对象ID")
    private String bizObjectId;

    /** 流程编码 流程编码 */
    @Excel(name = "流程编码 流程编码")
    private String workflowCode;

    /** 表单编码 表单编码 */
    @Excel(name = "表单编码 表单编码")
    private String bizObjectSchemaCode;

    /** 流程表单访问地址 流程表单访问地址 */
    @Excel(name = "流程表单访问地址 流程表单访问地址")
    private String url;
    
    private String instanceUrl; 
    
    private String instanceH5url;

    /** guid */
    private String guid;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 业务类别名称 */
    @Excel(name = "业务类别名称")
    private String businessCategory;

    /** 业务类别id */
    @Excel(name = "业务类别id")
    private String businessCategoryId;
    
    private String deptName;
    
    private String deptId;
    private String h5Url;
    /*
     * 流程类型，1:成果校审
     */
    private String type;
    
    private String expert;
    
    private String expertName;
    
    public String getExpert() {
		return expert;
	}

	public void setExpert(String expert) {
		this.expert = expert;
	}

	public String getExpertName() {
		return expertName;
	}

	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("instanceUrl", getInstanceUrl())
            .append("instanceH5url", getInstanceH5url())
            .append("businessId", getBusinessId())
            .append("intanceName", getIntanceName())
            .append("originatorName", getOriginatorName())
            .append("originator", getOriginator())
            .append("originTime", getOriginTime())
            .append("displayName", getDisplayName())
            .append("participantName", getParticipantName())
            .append("instanceState", getInstanceState())
            .append("end_time", getEnd_time())
            .append("intanceId", getIntanceId())
            .append("bizObjectId", getBizObjectId())
            .append("workflowCode", getWorkflowCode())
            .append("bizObjectSchemaCode", getBizObjectSchemaCode())
            .append("url", getUrl())
            .append("guid", getGuid())
            .append("projectName", getProjectName())
            .append("businessCategory", getBusinessCategory())
            .append("businessCategoryId", getBusinessCategoryId())
            .append("sortBy", getSortBy())
            .append("order", getOrder())
            .append("deptName", getDeptName())
            .append("deptId", getDeptId())
            .append("h5Url", getH5Url())
            .append("archiveStatus", getArchiveStatus())
            .append("projectLeader", getProjectLeader())
            .append("projectLeaderId", getProjectLeaderId())
            .append("participantId", getParticipantId())
            .append("type", getType())
            .append("participant",getParticipant())
            .toString();
    }

    public String getProjectLeader() {
		return projectLeader;
	}

	public void setProjectLeader(String projectLeader) {
		this.projectLeader = projectLeader;
	}

	public String getProjectLeaderId() {
		return projectLeaderId;
	}

	public void setProjectLeaderId(String projectLeaderId) {
		this.projectLeaderId = projectLeaderId;
	}

	public String getOriginator() {
		return originator;
	}

	public void setOriginator(String originator) {
		this.originator = originator;
	}

	public String getOriginatorName() {
		return originatorName;
	}

	public void setOriginatorName(String originatorName) {
		this.originatorName = originatorName;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getParticipantName() {
		return participantName;
	}

	public void setParticipantName(String participantName) {
		this.participantName = participantName;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getBizObjectSchemaCode() {
		return bizObjectSchemaCode;
	}

	public void setBizObjectSchemaCode(String bizObjectSchemaCode) {
		this.bizObjectSchemaCode = bizObjectSchemaCode;
	}

	public String getBusinessCategory() {
		return businessCategory;
	}

	public void setBusinessCategory(String businessCategory) {
		this.businessCategory = businessCategory;
	}

	public String getBusinessCategoryId() {
		return businessCategoryId;
	}

	public void setBusinessCategoryId(String businessCategoryId) {
		this.businessCategoryId = businessCategoryId;
	}
	
	public String getOriginTimeStart() {
		return originTimeStart;
	}

	public void setOriginTimeStart(String originTimeStart) {
		this.originTimeStart = originTimeStart;
	}

	public String getOriginTimeEnd() {
		return originTimeEnd;
	}

	public void setOriginTimeEnd(String originTimeEnd) {
		this.originTimeEnd = originTimeEnd;
	}

	public String getEndTimeStart() {
		return endTimeStart;
	}

	public void setEndTimeStart(String endTimeStart) {
		this.endTimeStart = endTimeStart;
	}

	public String getEndTimeEnd() {
		return endTimeEnd;
	}

	public void setEndTimeEnd(String endTimeEnd) {
		this.endTimeEnd = endTimeEnd;
	}

    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setIntanceName(String intanceName) 
    {
        this.intanceName = intanceName;
    }

    public String getIntanceName() 
    {
        return intanceName;
    }
    public void setOriginTime(String originTime) 
    {
        this.originTime = originTime;
    }

    public String getOriginTime() 
    {
        return originTime;
    }
    public void setInstanceState(String instanceState) 
    {
        this.instanceState = instanceState;
    }

    public String getInstanceState() 
    {
        return instanceState;
    }
    public void setIntanceId(String intanceId) 
    {
        this.intanceId = intanceId;
    }

    public String getIntanceId() 
    {
        return intanceId;
    }
    public void setBizObjectId(String bizObjectId) 
    {
        this.bizObjectId = bizObjectId;
    }

    public String getBizObjectId() 
    {
        return bizObjectId;
    }
    public void setWorkflowCode(String workflowCode) 
    {
        this.workflowCode = workflowCode;
    }

    public String getWorkflowCode() 
    {
        return workflowCode;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getH5Url() {
		return h5Url;
	}

	public void setH5Url(String h5Url) {
		this.h5Url = h5Url;
	}

	public String getParticipantId() {
		return participantId;
	}

	public void setParticipantId(String participantId) {
		this.participantId = participantId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getArchiveStatus() {
		return archiveStatus;
	}

	public void setArchiveStatus(String archiveStatus) {
		this.archiveStatus = archiveStatus;
	}

	public String getParticipant() {
		return participant;
	}

	public void setParticipant(String participant) {
		this.participant = participant;
	}

	public String getInstanceUrl() {
		return instanceUrl;
	}

	public void setInstanceUrl(String instanceUrl) {
		this.instanceUrl = instanceUrl;
	}

	public String getInstanceH5url() {
		return instanceH5url;
	}

	public void setInstanceH5url(String instanceH5url) {
		this.instanceH5url = instanceH5url;
	}
}
